package com.myteam.mystory.DAO;

import android.database.sqlite.SQLiteDatabase;

public class CategoriesScheme {
	public static final String TABLE_CATEGORIES_NAME = "categories";
	public static final String CATID = "catid";
	public static final String CATNAME = "catname";
	public static final String DESCRIPTION = "description";

	private static final String DATEBASE_CREATE_CATEGORIES = "create table "
			+ TABLE_CATEGORIES_NAME + "(" + CATID + " integer primary key, "
			+ CATNAME + " text not null, " + DESCRIPTION + " text not null)";
	
	public static void onCreate(SQLiteDatabase db){
		db.execSQL(DATEBASE_CREATE_CATEGORIES);
	}
}
